package com.go.where.manager.service;

import com.go.where.manager.page.Pagination;
import com.go.where.manager.pojo.SpecialColumnInfo;
import com.go.where.manager.pojo.user.UserInfoVO;

/**
 * 翠花专栏信息Service
 * 
 * @author java
 * 
 */
public interface SpecialColumnService {

	/**
	 * 根据主键id查询信息
	 * 
	 * @param id
	 * @return
	 */
	public SpecialColumnInfo queryByPrimartKey(String id);

	/**
	 * 分页查询
	 * 
	 * @param specialColumnInfo
	 * @return
	 */
	public Pagination<SpecialColumnInfo> queryPage(
			SpecialColumnInfo specialColumnInfo);

	/**
	 * 修改信息
	 * 
	 * @param specialColumnInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int update(SpecialColumnInfo specialColumnInfo,
			UserInfoVO currentUser);

	/**
	 * 保存信息
	 * 
	 * @param specialColumnInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int save(SpecialColumnInfo specialColumnInfo, UserInfoVO currentUser);

}
